package com.oocl.customersystem.dao;

import java.sql.SQLException;
import java.util.List;

import com.oocl.customersystem.pojo.Food;

public interface FoodDao {
	public List<Food> loadAll() throws SQLException;
	
    
    public List<Food> loadFoodsByType(String icnum,String type) throws SQLException;
    
    public String  addFood(Food f) throws SQLException;
    
    public int update(Food f) throws SQLException;
    
    public int delete(String fid) throws SQLException ;
    
    public Food loadOne(String fid) throws SQLException ;
    

	public List<Food> loadFoodsByIcnum(String icnum)throws SQLException ;
    
    
}
